package vehicleEntity;

import java.util.Date;
/**
 * 
 * @author Sashiraj Dhanarajan
 *
 */

public class PurchasedVehicleEntity extends VehicleEntity {

	private Integer vehicleId;
	private Date purchasedDate;
	private Date manufDate;
	private Double vehicleIns;
	private Double amount;
	private int yearsOld;

	public Integer getVehicleId() {
		return vehicleId;
	}
	public void setVehicleId(int vehicleId) {
		this.vehicleId = vehicleId;
	}
	public Date getPurchasedDate() {
		return purchasedDate;
	}
	public void setPurchasedDate(Date purchasedDate) {
		this.purchasedDate = purchasedDate;
	}
	public Date getManufDate() {
		return manufDate;
	}
	public void setManufDate(Date manufDate) {
		this.manufDate = manufDate;
	}
	public Double getVehicleIns() {
		return vehicleIns;
	}
	public void setVehicleIns(Double vehicleIns) {
		this.vehicleIns = vehicleIns;
	}
	public Double getAmount() {
		return amount;
	}
	public void setAmount(Double amount) {
		this.amount = amount;
	}
	/**
	 * @return the yearsOld
	 */
	public int getYearsOld() {
		return yearsOld;
	}
	/**
	 * @param yearsOld the yearsOld to set
	 */
	public void setYearsOld(int yearsOld) {
		this.yearsOld = yearsOld;
	}
	/**
	 * @param vehicleId the vehicleId to set
	 */
	public void setVehicleId(Integer vehicleId) {
		this.vehicleId = vehicleId;
	}



}
